19. Exercise 4: Building a Full DAG

Exercise 4: Building a Full DAG

In this exercise you will construct a DAG and custom operator end-to-end on your own. Our bikeshare company would like to create a trips facts table every time we update the trips data. You've decided to make the facts table creation a custom operator so that it can be reused for other tables in the future.

The skeleton of the custom operator, as well as the facts SQL statement has been created for you and can be found in plugins/operators/facts_calculator.py. The DAG itself will be defined in dags/lesson3/exercise4.py.

Using the previous exercises as examples, follow the instructions in the DAG and Operator file to complete the exercise.

Code

If you need a code on the https://github.com/udacity.